package neo.aoi;

public class Tester {
	public static void main(String args[]) {
		double res = 0.03;
		//double res = 0.0001;

		//RoundUtils rounder = new RoundUtils();
		//rounder.matchRoundingPlaces(res);
		//System.out.println("Rounding places: " + rounder.getRoundingPlaces());

		System.out.println("Rounding places: " + res);
		System.out.println("Rounding places: " + -Math.log10(res));
		System.out.println("Rounding places: " + Math.ceil(Math.abs(Math.log10(res))));
	}
}
